package com.dongjiantong.sys.enums;

/**
 * 动物种类枚举
 * @author Lee
 * @date 2018/1/4
 */
public enum AnimalTypeEnum {
    /**
     * 常用animal code
     */

    //养殖种类 二级常用(暂定)
    PIG(101,"猪"),
    BULL(102,"牛"),
    SHEEP(103,"羊"),
    HORSE(104,"马"),
    CHICKEN(201,"鸡"),
    DUCK(202,"鸭"),
    GOOSE(203,"鹅"),

    //养殖种类 一级
    LIVESTOCK(1,"家畜"),
    POULTRY(2,"家禽"),

    //养殖畜种等级
    ANIMAL_ONE_LEVEL(1,"养殖畜种一级"),
    ANIMAL_TWO_LEVEL(2,"养殖畜种二级"),
    ANIMAL_THIRD_LEVEL(3,"养殖畜种三级"),

    //养殖畜种状态
    ANIMAL_USE(0,"养殖畜种可用"),
    ANIMAL_NOT_USE(1,"养殖畜种暂未用");

    private final Integer code;
    private final String name;

    AnimalTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getlName() {
        return name;
    }
}
